<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>1</title>
</head>
<body>
	<s:form name="inputNumForm" action="inputNum" method="post" >
	<s:hidden name="pan.name" value="player1"></s:hidden>
		<s:textfield name="pan.num" />
		<s:submit name="btn" value="선택"/> 
	</s:form>
	
	<div>
	
		<table border="1">
		<tr>
		<s:iterator value="list" status="i">
			<td height="100px" width="100px">	
				<s:if test="name !=null">
			 <center> <s:property value='num'/></center>
			  	</s:if>
			  	<s:if test="score%5==0">
			  		</tr><tr>
			  	</s:if>
			  </td>
			
		</s:iterator>
		</tr>
		</table>
	</div>
	
	<table border="1">
		<tr>
		<s:iterator value="ranking">
			<td height="50px" width="50px">	
			 <center> <s:property value='player'/></center>
			</td>
			<td height="50px" width="50px">	
			 <center> <s:property value='score'/></center>
			</td>		
			<td height="50px" width="50px">	
			 <center> <s:property value='index'/></center>
			</td>			
			</tr><tr>
		</s:iterator>
		</tr>
		</table>
</body>
</html>